package daily.kou2022_0104;

public class Num258 {
//258. 各位相加
    public int addDigits(int num) {
        return (num - 1) % 9 + 1;

    }
}
